<?php
include_once 'define.php';// include file define.php vao file index(co the gop nhung define path trong file define.php va index.php thanh 1 file la index.php)

//Goi lop Zend Application
require_once 'Zend/Application.php';

$environment = APPLICATION_ENV; //APPLICATION_ENV la bien "moi truong" duoc define trong file define.php
$options = APPLICATION_PATH . '/configs/application.ini'; //APPLICATION_PATH la bien duoc define trong file define.php

$application = new Zend_Application($environment, $options);
$application->bootstrap()->run(); //bootstrap() va run() la 2 method trong class Application
